#define _CRT_SECURE_NO_WARNINGS
#include"byy.h"
int main()
{
	int n = 0;
	while (getchar() != '\n')
	{
		n++;
	}
	printf("%d\n",n);
	return 0;
}